﻿using System.Windows.Input;
using Syncfusion.Windows.PdfViewer;

namespace PdfSdk.PdfViewer
{
    public class FreeTextAnnotationTextBoxWrapper : ObjectWrapper
    {
        public FreeTextAnnotationTextBoxWrapper(FreeTextAnnotationTextBox obj) : base(obj)
        {
        }

        public PdfViewerFreeTextAnnotationWrapper freeTextAnnotation
        {
            get
            {
                var obj = GetFieldValue();
                return obj == null ? null : new PdfViewerFreeTextAnnotationWrapper(obj);
            }
        }

        internal void PVTextBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) => InvokeMethod("PVTextBox_PreviewMouseDown", sender, e);
    }
}
